package com.mb.app.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户信息
 * </p>
 *
 * @author liliping
 * @since 2019-03-21
 */
@TableName("tb_user_info")
public class TbUserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 用户编号
	 */
	@TableId(value="user_id")
	private Long userId;

	/**
	 * 手机号
	 */
	private String phone;

	/**
	 * 昵称
	 */
	@TableField(value="nick_name")
	private String nickName;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * 注册时间
	 */
	@TableField(value="reg_time")
	private Date regTime;

	/**
	 * 用户状态
1：正常
0：禁用
	 */
	@TableField(value="user_status")
	private Integer userStatus;

	/**
	 * 设备类型\n0：未知\n1：android\n2：ios\n3：h5
	 */
	@TableField(value="device_os")
	private Integer deviceOs;

	/**
	 * 所属应用编号
	 */
	@TableField(value="app_id")
	private Long appId;

	/**
	 * 注册渠道编号
	 */
	@TableField(value="reg_channel_id")
	private Long regChannelId;

	/**
	 * 最近登录时间
	 */
	@TableField(value="last_login_time")
	private Date lastLoginTime;

	/**
	 * 数据状态
0：删除
1：正常
	 */
	@TableField(value="data_status")
	private Integer dataStatus;

	/**
	 * 应用渠道
	 */
	@TableField(value="app_channel_id")
	private Long appChannelId;

	/**
	 * 姓名
	 */
	private String name;

	/**
	 * 0：无
1：小学
2：初中
3：高中
4：大学
5：研究生
6：博士
	 */
	private Integer education;

	/**
	 * 婚姻状况
0：未婚
1：已婚
	 */
	private Integer marriage;

	/**
	 * 省
	 */
	private String province;

	/**
	 * 市
	 */
	private String city;

	/**
	 * 
	 */
	private String area;

	/**
	 * 详细地址
	 */
	@TableField(value="dtl_addr")
	private String dtlAddr;

	@TableField(exist = false)
	private String app_name;

	@TableField(exist = false)
	private String channel_name;

	@TableField(exist = false)
	private String app_channel_name;




	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getRegTime() {
		return regTime;
	}

	public void setRegTime(Date regTime) {
		this.regTime = regTime;
	}

	public Integer getUserStatus() {
		return userStatus;
	}

	public void setUserStatus(Integer userStatus) {
		this.userStatus = userStatus;
	}

	public Integer getDeviceOs() {
		return deviceOs;
	}

	public void setDeviceOs(Integer deviceOs) {
		this.deviceOs = deviceOs;
	}

	public Long getAppId() {
		return appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public Long getRegChannelId() {
		return regChannelId;
	}

	public void setRegChannelId(Long regChannelId) {
		this.regChannelId = regChannelId;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Integer getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(Integer dataStatus) {
		this.dataStatus = dataStatus;
	}

	public Long getAppChannelId() {
		return appChannelId;
	}

	public void setAppChannelId(Long appChannelId) {
		this.appChannelId = appChannelId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getEducation() {
		return education;
	}

	public void setEducation(Integer education) {
		this.education = education;
	}

	public Integer getMarriage() {
		return marriage;
	}

	public void setMarriage(Integer marriage) {
		this.marriage = marriage;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getDtlAddr() {
		return dtlAddr;
	}

	public void setDtlAddr(String dtlAddr) {
		this.dtlAddr = dtlAddr;
	}

	public String getApp_name() {
		return app_name;
	}

	public void setApp_name(String app_name) {
		this.app_name = app_name;
	}

	public String getChannel_name() {
		return channel_name;
	}

	public void setChannel_name(String channel_name) {
		this.channel_name = channel_name;
	}

	public String getApp_channel_name() {
		return app_channel_name;
	}

	public void setApp_channel_name(String app_channel_name) {
		this.app_channel_name = app_channel_name;
	}
}
